home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_5172 / PlaceObject2_200_2 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2008-09-12  |  2.3 KB  |  72 lines

  1. onClipEvent(load){
  2.    function procesar()
  3.    {
  4.       _visible = loaded = true;
  5.       _root.msg.text = "";
  6.       exito.start();
  7.       _root.btnskip.enabled = false;
  8.       _root.btnskip._visible = false;
  9.       _root.btngo.enabled = true;
  10.       _root.btngo._visible = true;
  11.       _root.scoretable.name0.text = this.NAME0;
  12.       _root.scoretable.name1.text = this.NAME1;
  13.       _root.scoretable.name2.text = this.NAME2;
  14.       _root.scoretable.name3.text = this.NAME3;
  15.       _root.scoretable.name4.text = this.NAME4;
  16.       _root.scoretable.name5.text = this.NAME5;
  17.       _root.scoretable.name6.text = this.NAME6;
  18.       _root.scoretable.name7.text = this.NAME7;
  19.       _root.scoretable.name8.text = this.NAME8;
  20.       _root.scoretable.name9.text = this.NAME9;
  21.       _root.scoretable.score0.text = this.SCORE0;
  22.       _root.scoretable.score1.text = this.SCORE1;
  23.       _root.scoretable.score2.text = this.SCORE2;
  24.       _root.scoretable.score3.text = this.SCORE3;
  25.       _root.scoretable.score4.text = this.SCORE4;
  26.       _root.scoretable.score5.text = this.SCORE5;
  27.       _root.scoretable.score6.text = this.SCORE6;
  28.       _root.scoretable.score7.text = this.SCORE7;
  29.       _root.scoretable.score8.text = this.SCORE8;
  30.       _root.scoretable.score9.text = this.SCORE9;
  31.       i = 0;
  32.       while(i <= 9)
  33.       {
  34.          if(eval("this.SCORE" + i) != 0)
  35.          {
  36.             temp = (18750 - eval("this.SCORE" + i)) / 0.021;
  37.             eval("_root.scoretable.time" + i).text = _root.m2s(temp);
  38.          }
  39.          else
  40.          {
  41.             eval("_root.scoretable.time" + i).text = "Empty";
  42.          }
  43.          i++;
  44.       }
  45.    }
  46.    variables = new LoadVars();
  47.    datos = new LoadVars();
  48.    u = _visible = false;
  49.    datos.onLoad = procesar;
  50.    variables.filename = "fis.sco";
  51.    variables.scoresize = 10;
  52.    variables.action = "PONERtumay";
  53.    variables.viewtype = "FLASH";
  54.    variables.winname = _root.name;
  55.    variables.winscore = _root.score;
  56.    if(!_root.again)
  57.    {
  58.       variables.action = "PONERtumay";
  59.    }
  60.    else
  61.    {
  62.       variables.action = "VIEW";
  63.    }
  64.    variables.sendAndLoad("http://www.dzarchive.com/iragination/hiscotumay.php",datos,"GET");
  65.    mwait = getTimer() + 40000;
  66.    loaded = false;
  67.    failed = new Sound();
  68.    failed.attachSound("fhitted");
  69.    exito = new Sound();
  70.    exito.attachSound("cheater");
  71. }
  72.